package com.ylsdxy.menu.mapper;


import com.ylsdxy.menu.entity.FirstMenu;
import com.ylsdxy.menu.entity.SecondMenu;
import org.ylsdxy.model.entity.Menu;

import java.util.List;


public interface MenuMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<FirstMenu> getFirstMenu();

    List<SecondMenu> getSecondMenu(Integer id);
}